package com.ahut.service;

import com.ahut.pojo.Headline;
import com.ahut.pojo.vo.PortalVo;
import com.ahut.utils.Result;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author zhuang05
* @description 针对表【news_headline】的数据库操作Service
* @createDate 2025-03-07 20:51:41
*/
public interface HeadlineService extends IService<Headline> {

    Result findNewsPage(PortalVo portalVo);

    Result showHeadlineDetail(Integer hid);

    Result publish(Headline headline, String token);

    Result findHeadlineByHid(Integer hid);

    Result updateHeadline(Headline headline);

    Result removeByHid(String hid);
}
